/*
  C++ files should #define CPP extern "C"
*/

#ifndef CPP
# define CPP /**/
#endif

/*
** The following ifdef block is the standard way of creating macros which make exporting 
** from a DLL simpler. All files within this DLL are compiled with the DBGMON_EXPORTS
** symbol defined on the command line. this symbol should not be defined on any project
** that uses this DLL. This way any other project whose source files include this file see 
** DBGMON_API functions as being imported from a DLL, wheras this DLL sees symbols
** defined with this macro as being exported.
*/

#ifndef DBGMON_API
# if defined(DBGMON_EXPORTS)
#  define DBGMON_API  __declspec(dllexport) 
# elif defined(DBGMON_STANDALONE)
#  define DBGMON_API extern
# else
#  define DBGMON_API __declspec(dllimport) 
//# define DBGMON_API extern CPP
# endif
# define EXPORT __declspec(dllexport) 
# define IMPORT __declspec(dllimport) 
#endif
